package com.xzl.time.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@Api("新增评论参数类")
@Data
public class AddCommentParamVo {
    private String id;
    private String articleId;
    private String content;
    private String ceilingCommentId;
    private String parentId;
    private Integer thumbUp;
    @ApiModelProperty("用户id")
    private String userName;
    @ApiModelProperty("品论时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp publishDate;
}
